<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">
	<span class="color_red">*</span>${param.title }
</div>
	<table cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;">
			<col width="4%" />
			<col width="20%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center" rowspan="2" >序号</th>
						<th class="TblHead" align="center" rowspan="2" >仪器、设备名称</th>
						<th class="TblHead" align="center" rowspan="2" >型号</th>
						<th class="TblHead" align="center" rowspan="2" >数量</th>
						<th class="TblHead" align="center" rowspan="2" >用途</th>
						<th class="TblHead" align="center" rowspan="2" >添置方式</th>
						<th class="TblHead" align="center" colspan="2" >经费概算</th>
					</tr>
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
							<th class="TblHead" align="center" >外汇额度</th>
						<th class="TblHead" align="center" >人民币</th>
					</tr>
			</thead>
	</table>
	<table  id="appliance_budget" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;">
			
			<col width="4%" />
			<col width="20%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<col width="13%" />
			<thead >
					<tr  style="display:none"></tr>
			</thead>
			<tbody id="tab">
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/appliance_budget/appliance" var="appliance">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<x:out select="$appliance/@seq_no"/>
						</td>
						<td align="center">
							<x:out select="$appliance/appliance_name"/> 
						</td>
						<td align="center">
							 <x:out select="$appliance/model"/>
						</td>
						<td align="center">
							 <x:out select="$appliance/count"/>
						</td>
						<td align="center">
							 <x:out select="$appliance/use"/> 
						</td>
						<td align="center">
							 <x:out select="$appliance/acquire_way"/>
						</td>
						<td align="center">
							 <x:out select="$appliance/foreign_currency"/>
						</td>
						<td align="center">
							 <x:out select="$appliance/rmb"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
					</table>
					<table cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;">
					<col width="4%" />
					<col width="20%" />
					<col width="13%" />
					<col width="13%" />
					<col width="13%" />
					<col width="13%" />
					<col width="13%" />
					<col width="13%" />
				<tr>
					<td align="right" colspan="6">经费合计：</td>
					<td align="center">
					      <x:out select="$xmlData/data/appliance_budget/foreign_currency_total" /> 
					</td>
					<td align="center">
					      <x:out select="$xmlData/data/appliance_budget/rmb_total" />
					</td>
					<td></td>
				</tr>
				 </table>

<script type="text/javascript">
$(function() {
	$("#appliance_budget tr:even").addClass("li_1");
	$("#appliance_budget tr:odd").addClass("li_2");
});
</script>